package com.ccrfid.rmc6.pojo.open8200.resp;

import java.util.StringJoiner;

public class DataOrg {
    private String indexCode;
    private String name;
    private String parentIndexCode;
    private String parentTree;
    private Integer unitLevel;
    private Integer unitType;
    private Long createTime;
    private Long updateTime;

    public String getIndexCode() {
        return indexCode;
    }

    public void setIndexCode(String indexCode) {
        this.indexCode = indexCode;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getParentIndexCode() {
        return parentIndexCode;
    }

    public void setParentIndexCode(String parentIndexCode) {
        this.parentIndexCode = parentIndexCode;
    }

    public String getParentTree() {
        return parentTree;
    }

    public void setParentTree(String parentTree) {
        this.parentTree = parentTree;
    }

    public Integer getUnitLevel() {
        return unitLevel;
    }

    public void setUnitLevel(Integer unitLevel) {
        this.unitLevel = unitLevel;
    }

    public Integer getUnitType() {
        return unitType;
    }

    public void setUnitType(Integer unitType) {
        this.unitType = unitType;
    }

    public Long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Long createTime) {
        this.createTime = createTime;
    }

    public Long getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Long updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        return new StringJoiner(", ", DataOrg.class.getSimpleName() + "[", "]")
                .add("indexCode='" + indexCode + "'")
                .add("name='" + name + "'")
                .add("parentIndexCode='" + parentIndexCode + "'")
                .add("parentTree='" + parentTree + "'")
                .add("unitLevel=" + unitLevel)
                .add("unitType=" + unitType)
                .add("createTime=" + createTime)
                .add("updateTime=" + updateTime)
                .toString();
    }
}
